/* pages/Home/style.css - 修复后的首页样式 */
.home-page {
  min-height: calc(100vh - 120px); /* 减去header和footer的高度 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  /* 移除背景，使用App的背景 */
}

.home-hero-container {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.home-hero-content {
  color: white;
}

.home-logo-section {
  text-align: center;
  margin-bottom: 3rem;
}

.home-ai-logo {
  font-size: 5rem;
  margin-bottom: 1rem;
  animation: home-float 3s ease-in-out infinite;
}

@keyframes home-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.home-logo-section h1 {
  font-size: 3rem;
  font-weight: 800;
  margin: 0 0 0.5rem 0;
  background: linear-gradient(45deg, #fff, #f0f8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-tagline {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 300;
  letter-spacing: 2px;
}

.home-description {
  margin-bottom: 3rem;
}

.home-description > p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 300;
}

.home-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.home-features li {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.home-action-section {
  text-align: center;
}

.home-start-interview-btn {
  display: inline-block;
  background: linear-gradient(45deg, #ff6b6b, #ff8e53);
  color: white;
  text-decoration: none;
  padding: 1.5rem 3rem;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
}

.home-start-interview-btn:hover {
  background: linear-gradient(45deg, #ff5252, #ff7043);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

.home-start-tip {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.home-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-interview-preview {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
}

.home-preview-screen {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  min-height: 300px;
}

.home-ai-interviewer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.home-ai-avatar {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: home-gentle-bounce 2s ease-in-out infinite;
}

@keyframes home-gentle-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.home-speech-bubble {
  background: white;
  color: #333;
  padding: 1rem 1.5rem;
  border-radius: 20px;
  position: relative;
  max-width: 250px;
  text-align: center;
  margin-bottom: 1rem;
}

.home-speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border: 10px solid transparent;
  border-top-color: white;
}

.home-speech-bubble p {
  margin: 0 0 0.5rem 0;
  font-weight: 500;
}

.home-typing-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.home-typing-dots span {
  width: 6px;
  height: 6px;
  background: #667eea;
  border-radius: 50%;
  animation: home-typing 1.4s infinite ease-in-out;
}

.home-typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.home-typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes home-typing {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

.home-user-camera {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  min-width: 80px;
}

.home-camera-placeholder {
  font-size: 1.5rem;
}

.home-user-camera span {
  color: white;
  font-size: 0.7rem;
  text-align: center;
}

.home-stats-section {
  display: flex;
  gap: 4rem;
  margin-top: 2rem;
}

.home-stat-item {
  text-align: center;
  color: white;
}

.home-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  display: block;
  background: linear-gradient(45deg, #4facfe, #00f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .home-hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .home-logo-section h1 {
    font-size: 2.2rem;
  }
  
  .home-stats-section {
    gap: 2rem;
  }
  
  .home-preview-screen {
    min-height: 250px;
  }
}

@media (max-width: 480px) {
  .home-start-interview-btn {
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
  }
  
  .home-stats-section {
    flex-direction: column;
    gap: 1rem;
  }
}